import {getUrlParam} from '@/static/js/filter.js';
export default {
	data() {
		return {
			details: {},
		}
	},
	onLoad() {
		this.id = getUrlParam('id');
		if(this.id) {
			this.$api.AppFollowUpRecordsDetaile(this.id).then((res) => {
				this.details = res.data.result;
				this.$api.findByUserId(res.data.result.userId).then((ares)=>{
					this.details.age = ares.data.result.age;
				})
			})
		}
	}
}